ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Compare Side-By-Side

by kaste ALL Top 100

Compare anything, side-by-side, in a split view

Details

  • 1.24.2
    1.20.3
  • github.​com
  • github.​com
  • 5 days ago
  • 4 hours ago
  • 11 years ago

Installs

  • Total 346K
  • Win 187K
  • Mac 114K
  • Linux 45K
Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22
Windows 38 43 40 50 33 14 16 39 54 56 41 49 21 22 44 53 63 53 48 12 22 51 42 64 49 47 9 25 38 43 35 57 32 14 12 26 30 45 46 52 21 15 53 50 59 51
Mac 35 35 41 40 20 8 15 27 44 43 36 24 10 11 33 40 37 34 35 8 5 30 40 45 44 40 11 10 31 40 45 45 22 20 10 25 23 33 33 41 20 13 51 36 46 32
Linux 6 9 11 11 10 2 5 6 14 16 13 11 2 9 9 12 15 10 9 3 6 3 14 11 9 5 2 3 7 14 14 5 5 3 4 14 7 13 12 9 3 11 10 9 8 8

Readme

Source
raw.​githubusercontent.​com

Compare Side-By-Side

This package adds a simple side-by-side comparison tool to Sublime Text. Here is us on Package Control and here on GitHub.

Features

  • Easily select two tabs or selections to compare
  • Comparison results open in a new window
  • Empty lines added so common code lines up
  • Count number of lines changed
  • Highlighting of changed lines
  • Intra-line diff highlighting
  • Synchronized scrolling

Installation Options

  • Search for and install using Package Control (ctrl+shift+P, “Install Package”)
  • Clone or extract this repo to a new folder in your Sublime 'Packages' folder
    (Preferences -> Browse Packages)

Usage Options

  • Right click on a tab and select “Compare with…”
  • Right click somewhere in the active view and select “Compare with…”
  • Right click on a tab and select “Compare with active tab”
  • Highlight text, right click -> “Mark selection for comparison” Mark a second selection, then right click -> “Compare selections”
  • Create two selections by holding CTRL, then “Compare selections”
  • From the command line: see README_COMMANDS.md
  • Jump around: , or .. But also: Jump to next: alt+n, jump to previous: alt+p

Configuration

  • The standard diff scopes/colors are used, these are diff.inserted.sbs-compare, diff.inserted.char.sbs-compare, diff.deleted.sbs-compare, diff.deleted.char.sbs-compare. Note that I just added the suffix “.sbs-compare” to them. You can change the colors in your color scheme (ctrl+shift+P, “UI: Customize Color Scheme”).
  • Other options can be configured in SBSCompare.sublime-settings To access: Preferences -> Package Settings -> Compare Side-By-Side

License & Contributing